const { config } = require('./common')

const { api } = config
const { menus } = api

let database = [
    {
        id: '1',
        icon: 'bar-chart',
        name: '主页'
    }
];

module.exports = {
    [`GET ${menus}`](req, res) {
        res
            .status(200)
            .json(database)
    }
}
